<!DOCTYPE html>
<html>
  <head>
    <style>
      :-moz-submit-invalid { display: none; }
    </style>
  </head>
  <body>
    <form>
      <input value='foo' required>
      <input type='image'>
    </form>
  </body>
</html>
